package itmayiedu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @description: 订单接口
 * @author: liucancan
 * @create: 2018-11-03 16:29
 **/
@SpringBootApplication
// 开启Eurekaserver服务注解，开启注册中心
@EnableEurekaClient
@EnableFeignClients
// 开启服务保护机制
@EnableHystrix
public class AppOrder {

    public static void main(String[] args) {
        SpringApplication.run(AppOrder.class, args);
    }
}
